Many nations have laws to prohibit particular forms of discriminiation often including gender, ethnicity and sexual orientation. For example, the UK list of protected characteristics at the time of writing includes age, gender reassignment, being married or in a civil partnership, being pregnant or on maternity leave, disability, race including colour, nationality, ethnic or national origin, religion or belief, sex, and sexual orientation. The laws may have severe financial or other penalties for companies who have been found to have acted in a discrimnatory manner, for example, having software that has some form of bias. This is particularly problematic for complex AI algorithms and machine learning such as deep neural networks as it may be unclear what aspects are being used to make a decision. Note that irrespective of the law in the nation(s) in which you are working or deploying systems, you should consider the ethical consequences of systems you produce, for example, bias for non-protected characteristcs such as social background, or wider societal impact of AI.
Used in Chap. 20: page 315